package com.imooc.luckymoney.repository;

import com.imooc.luckymoney.constant.Constant;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.query.Update;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.ArrayList;

@Data
@Document(collection = Constant.GROUP_COLLECTION_NAME)
public class GroupCollection extends Update implements Serializable {
    @Id
    private String id;
    private String modelName;
    private ArrayList<Columns> columns;

    @Override
    public boolean hasArrayFilters() {
        return false;
    }
}
